package com.lazy.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "lazy.jwt")
public class JwtProperties {

    /**
     * 学生端生成jwt令牌相关配置
     */
    private String studentSecretKey;
    private long studentTtl;
    private String studentTokenName;

    /**
     * 维修端维修工生成jwt令牌相关配置
     */
    private String employeeSecretKey;
    private long employeeTtl;
    private String employeeTokenName;
}
